Skip to main content

looping

Type

property

Summary

Specifies whether a movie or sound stops at the end, or restarts from the beginning.

Syntax

set the looping of <player> to {true | false}

Description

Use the looping property to set a movie or sound to continuous play.

If a player's looping property is set to true, when the movie or sound is played, it repeats over and over until stopped by the user or a handler. If the looping is false, the sound or movie plays through only once, then stops.

If the player's playSelection property is true, only the selected portion of the movie or sound is played.

Examples

set the looping of last player to true

command: start, play

glossary: property, handler

keyword: player

object: player

property: endTime, repeatCount, selected, duration, startTime, playRate

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?